{% load staticfiles %}
<!DOCTYPE html>
<html lang="zh-cn">
	<head>
		<title>Main index</title>
		<meta  charset="utf-8">

		{% block standert-css %}
		<link rel="stylesheet"  href="{% static 'bootstrap/dist/css/bootstrap.min.css' %}">
		{% endblock %}


		{% block customer_css %}
		{% endblock %}
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  		
	</head>
	{% block body %}
	<body>
		
		<div class="navbar navbar-inverse navbar-fixed-top">
			<div class="container-fluid">
				<div class="navbar-header">
					<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"></button>
					<a class="navbar-brand">北京电子科技学院信息示范中心</a>
				</div>
				<div class="collapse navbar-collapse">
					<ul class="navbar-nav nav navbar-right">
						<li class="active"><a href="/"><span class="glyphicon glyphicon-home"></span>首页</a></li>
						{% if login_user %}
						<li><a href="/logout" >{{ login_user }} 登出</a></li>
						{% else %}
						<li><a href="/login" >登录</a></li>
						{% endif %}
            			<li><a href="#contact">帮助</a></li>
            			<li><a href="#">意见反馈</a></li>

					</ul>		
				</div>
			</div>
		</div>
		<div class="container-fluid">
			<div class="row">
				<!--<div class="col-sm-3 col-md-2 sider">
					
				</div>-->
				<div class="col-sm-1 col-xsm-2 col-md-2 sidebar">

	        		<ul class="nav nav-sidebar">
						{% block announcement %}
						{% endblock %}
        			</ul>
          

		          
		        </div>
				<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
					{% block content %}
					{% endblock %}
					
					{% block test %}
					{% endblock %}

					{% block error %}
					{% endblock %}
					 			
				</div>
			</div>	
		</div>
		
		
		 <!--- we edit here -->
		 <div class="container">

		</div>


		{% endblock %}

		 <!-- end -->
	  	{% block stander-js %}
	  	<script src="{% static 'jquery/dist/jquery.min.js' %}"></script>
		<script src="{% static 'bootstrap/dist/js/bootstrap.min.js' %}"></script>
		{% endblock %}
		{% block js_model %}
		
	</body>
	{% endblock %}
</html>
